package com.witmore.skyline.web.controller.vo.param;

import lombok.Data;

import jakarta.validation.constraints.NotEmpty;

/**
 * Description: DeviceEditVO
 * Author: 豆子高
 * Date: 2025/3/27 17:58
 */
@Data
public class DeviceEditParam {

    @NotEmpty(message = "设备编号不能为空")
    private String deviceSn;

    @NotEmpty(message = "设备名称不能为空")
    private String deviceName;

    private String brand;

    private String model;

    private String category;

    private Integer projectId;

    /**
     * 绑定的驾驶员id（可选，为null表示解绑）
     */
    private Integer driverId;

    /**
     * 油箱容量信息
     */
    private Float fuelTankCapacity;

    /**
     * 是否有液位模块 0无 1有
     */
    private Integer hasOilLevelModule;
}
